//
//  YQSwiftFactory.swift
//  Collectibles
//
//  Created by tbb on 2019/9/19.
//  Copyright © 2019 TBB. All rights reserved.
//

import Foundation
import UIKit


extension UILabel {
    static func factoryLable(font:UIFont,textColor:UIColor,textAlignment:NSTextAlignment = .natural,text:String) -> UILabel{
        let lb = UILabel();
        lb.font = font;
        lb.textColor = textColor;
        lb.text = text;
        lb.textAlignment = textAlignment;
        return lb;
    }
}

